package jmu.cyxwcy.librarymanagement.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("fines")
public class Fines implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "fine_id", type = IdType.AUTO)
    private Integer fineId;

    private Integer borrowingId;

    private BigDecimal totalAmount;

    private LocalDate generatedDate;

    private String paymentStatus;

    @TableField(exist = false)
    private String bookName;

    @TableField(exist = false)
    private Integer UserId;
}
